from pydantic import BaseModel, Field


class OrderCreateRequest(BaseModel):
    order_amount: str = Field(..., description="订单金额")
    

class OrderCreate(BaseModel):

    payload_id: str = Field(..., description="用户标识")
    order_amount: str = Field(..., description="订单金额")
    description: str = Field(..., description="订单描述")
    order_trade_no: str = Field(..., description="订单交易号")


class CreatePayUrlRequest(BaseModel):
    """创建支付链接请求"""
    
    order_trade_no: str = Field(..., description="订单交易号")
